package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.UserRegDashboardDO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserRegDashboardDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserRegDashboardDO record);

    int insertSelective(UserRegDashboardDO record);

    UserRegDashboardDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserRegDashboardDO record);

    int updateByPrimaryKey(UserRegDashboardDO record);

    int getUserRegisterCount(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<UserRegDashboardDO> getUserRegisterList(@Param("startTime") String startTime,
                                                 @Param("endTime") String endTime,
                                                 @Param("offset") Integer offset,
                                                 @Param("limit") Integer limit);

    List<UserRegDashboardDO> getUserRegisterStatistic(@Param("startTime") String startTime, @Param("endTime") String endTime);
}